package com.example.demo.service

import com.example.demo.vo.*


interface BedService {

    fun getBedCardInfo(deptCode: String, bedCode: String): BedInfoVo?

    fun getDeptList(): List<DeptVo>?

    fun getBedList(deptCode: String): BedInfoVoList?

    fun getBindToBed(
        deptCode: String,
        deptName: String,
        bedCode: String,
        bedName: String,
        deviceNo: String,
        deviceMac: String,
        deviceIp: String,
        appVersion: String,
        deviceType: String
    ): Int?


    fun getDeptDiviceNo(deptCode: String): DeptDeviceNoVO?

    fun addTermometerValue(
        patientId: Int?,
        patientName: String?,
        deptId: Int?,
        deptName: String?,
        bedId: Int?,
        bedName: String?,
        date: String?,
        temperature: String?
    ): Int?

    fun getTermometerValue(id: Int): TemperatureVo?
    fun getTermometerValueList(deptId: Int?, patientId: Int?, patientName: String?): List<TemperatureVo>?

    fun addPressureValue(
        patientId: Int?,
        patientName: String?,
        deptId: Int?,
        deptName: String?,
        bedId: Int?,
        bedName: String?,
        date: String?,
        highPress: String?,
        lowPress: String?,
        heartRate: String?
    ): Int?

    fun getPressureValue(id: Int): PressureVo?

    fun getPressureValueList(deptId: Int?, patientId: Int?, patientName: String?): List<PressureVo>?

    fun getBoardMessage(deptId: Int?, messageType: String?, start: Int, end: Int): List<BoardMessageVo>?

    fun getFeeList(patientId: String): List<FeeVo>?


}